package com.czkt.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

public class Md5Utils {
    public static void main(String[] args) {
        Md5Hash md5Hash = new Md5Hash("111111","czkt",2);
        System.out.println(md5Hash.toString());
    }
    public static String getMd5UsrPassword(Object source, Object salt, int hashIterations){
        Md5Hash md5Hash = new Md5Hash(source,salt,hashIterations);
        return md5Hash.toString();
    }
}
